﻿using Phones.Client.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Phones.Client.ViewModel.TreeViewModel
{
    public class CityTreeNodeViewModel : TreeViewItemBaseViewModel
    {
        private City _model;

        public City Model
        {
            get { return _model; }
        }

        public CityTreeNodeViewModel(ServiceNodeTreeNodeViewModel parent, City model)
            : base(parent, true)
        {
            _model = model;
        }

        protected override void LoadChildren()
        {
            Children.Clear();
        }
    }
}
